//package com.example.demosdk;


import com.sun.jna.Callback;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
//
///**
// * @author Administrator
// *	定义回调接口的实现类，全部的
//**/

//public class CallBackImpl {
////    所有信息的回调
//    public static class setAllMessCallBackImpl implements DLSDK.DM_SetAllMessCallBack {
//        public static final int WM_DM_ERROR=0;
//        public static final int WM_DM_CAPTURE_FRAME=1;
//        public static final int WM_CAPTUREINFRA_OVER=2;
//        public static final int WM_DM_PLAYER_ERROR=3;
//        public static final int WM_PLAYBACK_OVER=4;
//        public static final int WM_DM_TEMP_VALUE=5;
//        public static final int WM_DM_TEMP_ALARM=6;
//
//        public void dmMessCallBack(int msg,String pBuf,int dwBufLen){
//            switch (msg){
//                case WM_DM_TEMP_VALUE:{
//                }
//            }
//        }
//    }
//    红外采集的回调
//    public static class fInfraDataCallBackImpl implements DLSDK.fInfraDataCallBack {
//        public String invoke(long lHandle, long dwDataType, Pointer pBuffer, long dwBufSize){
//            long INFRA_DATA = dwDataType;
//            int tagHandle = (int) lHandle;
//            String temValue = "";
//            DLFrameSDK dlFrameSDK = (DLFrameSDK) Native.loadLibrary("static/Demo/InfraredSDK",DLFrameSDK.class);
//            dlFrameSDK.IFR_LoadInfraredData(tagHandle,temValue);
//            System.out.println(temValue);
//            return temValue;
//        }
//    }
//    public static class myTest implements Callback{
//        @Override
//        public
//
//    }


